package io.gitee.yxsnake.wechat.model.official;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.gitee.yxsnake.wechat.model.Token;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author snake
 * @description
 * @since 2024/10/24 0:52
 */

@Data
@Accessors(chain = true)
public class OfficialNews extends Token<OfficialCustomMessage> {

    private String title;

   @JsonProperty("thumb_media_id")
    private String thumbMediaId;

    private String author;

    private String digest;

   @JsonProperty("show_cover_pic")
    private Integer showCoverPic = 0;

    private String content;
   @JsonProperty("content_source_url")

    private String contentSourceUrl;

   @JsonProperty("need_open_comment")
    private Integer needOpenComment = 0;

   @JsonProperty("only_fans_can_comment")
    private Integer onlyFansCanComment = 1;

   @JsonProperty("media_id")
    private String mediaId;
}
